{include file="header.tpl" title="Them moi lien ket"}
<form action="" method="post" name ="tongquat" target="_self">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="13%"><input name="button" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="{$ten_trove}" /></td>
      <td align="right" nowrap="nowrap" colspan="3"><select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
        
 {foreach from=$chuyentrang1 key=k item=v}
      
        <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
        
 	{/foreach}

      </select>
          <input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/></td>
    </tr>
    <tr>
      <td colspan="4"><hr /></td>
    </tr>
    <tr>
      <td>{$lbl_maKH}</td>
      <td><input name="TERMINTCD" id="TERMINTCD" type="text" style="background:{$colorTERMINTCD}" value="{$TERMINTCD}" size="20" maxlength="10" />
          <span style="color:#FF0000">*</span></td>
      <td> {$lbl_TrangThai}</td>
	  <td><span style="color:#FF0000">
      <select name="STATUS" size="1" style="width:150px;" disabled="disabled">
        
          
	      
      {foreach from=$cbo_STATUS key=k item=v}
	  	
	      
          
        <option value="{$k}" {if $k eq $activeSTATUS} selected="selected" {/if} >{$v}</option>
        
          
	      
      {/foreach}
    
        
        
      </select>
      </span></td>
    </tr>
    <tr>
      <td>{$lbl_KyHanTu}</td>
      <td width="23%"><input name="FRMTERM" id="FRMTERM" type="text" value="{$FRMTERM}" style="background:{$colorFRMTERM}; text-align:right"  size="3" maxlength="5" onkeypress="return numberOnly(event);"/>
          <select name="FRMTERMCD" size="1" >
            
    {foreach from=$cboTERMCD key=k item=v}
     
            <option value="{$k}" {if $k eq $FRMTERMCD} selected="selected" {/if} >{$v}</option>
            
    {/foreach}
    
          </select>
          <span style="color:#FF0000">*</span> </td>
      <td>{$lbl_KyHanDen} </td>
      <td width="52%"><input name="TOTERM" id="TOTERM" type="text" value="{$TOTERM}" style="background:{$colorTOTERM}; text-align:right" size="3" maxlength="5" onkeypress="return numberOnly(event);"/>
          <select name="TOTERMCD" size="1">
            
        
        {foreach from=$cboTERMCD key=k item=v}
        
        
            <option value="{$k}" {if $k eq $TOTERMCD} selected="selected" {/if} >{$v}</option>
            
        
        {/foreach}
      
      
          </select>
          <span style="color:#FF0000">*</span> </td>
    </tr>
    <tr>
      <td>{$lbl_LaiSuat}</td>
      <td><input name="INTRATE" type="text" style="background:{$colorlaisuat}; text-align:right" value="{$INTRATE}" size="20" maxlength="12" onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/></td>
	  <td>{$lbl_MaLaiSuat}</td>
	  <td><input name="INTRATECD" id="INTRATECD" type="text" style="background:{$colormaLS}" value="{$INTRATECD}" size="20" maxlength="5" />
          <span style="color:#FF0000">*</span>
          <input type="button" onclick="mywindow = window.open('lai_suat_id.php?name=INTRATECD', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat" id="replacement_binoculars" value="     " /></td>
    </tr>
    <tr>
      <td>{$lbl_SanPham}</td>
      <td colspan="3"><span style="color:#FF0000">
        <select id="PRDCODE" name="PRDCODE" size="1"  style="background:{$colorPRDCODE};">
		<option value=""></option>	
		{foreach from=$cbo_PRDCODE key=k item=v}  
			
          <option value="{$k}" {if $PRDCODE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    {/foreach}  
      
      
        
        </select>
        *
  <input type="hidden" value="{$PRDCODE}" id="PRDCODEtmp" name="PRDCODEtmp" />
      </span></td>
    </tr>
    <tr>
      <td nowrap="nowrap">&nbsp;</td>
      <td colspan="3" style="color:#FF0000" nowrap="nowrap">&nbsp;</td>
    </tr>
    <tr>
      <td colspan="4"><p></p>
          <p></p></td>
    </tr>
    <tr>
      <td colspan="4" align="right"><input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"  /></td>
    </tr>
    <tr>
      <td colspan="4"><hr /></td>
    </tr>
    <tr>
      <td ><input name="button2" type="button" class="button_style" onclick="history.back();" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" value="{$ten_trove}" /></td>
      <td align="right" nowrap="nowrap" colspan="3"><select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
        
 {foreach from=$chuyentrang1 key=k item=v}
      
        <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
        
 	{/foreach}

      </select>
          <input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'"/></td>
    </tr>
  </table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
